<template>
  <div >
    <Input search enter-button placeholder="输入车牌号" />
    <div style="margin-top:6px"> <Tree :data="data1"  show-checkbox></Tree></div>
   
  </div>
</template>
<script>
export default {
  name: "CarTreeList",
  data() {
    return {
      data1: [
        {
          title: "xxx公司",
          expand: true,
          children: [
            {
              title: "车队一",
              expand: true,
              children: [
                {
                  title: "车牌号码/车标号",
                },
                {
                  title: "车牌号码/车标号",
                },
                {
                  title: "车牌号码/车标号",
                },
                {
                  title: "车牌号码/车标号",
                },
                {
                  title: "车牌号码/车标号",
                },
                {
                  title: "车牌号码/车标号",
                },
                {
                  title: "车牌号码/车标号",
                },
                {
                  title: "车牌号码/车标号",
                },
                {
                  title: "车牌号码/车标号",
                },
                {
                  title: "车牌号码/车标号",
                },
                {
                  title: "车牌号码/车标号",
                },
                {
                  title: "车牌号码/车标号",
                },
                {
                  title: "车牌号码/车标号",
                },
              ],
            },
            {
              title: "车队二",
              expand: true,
              children: [
                {
                  title: "车牌号码/车标号",
                },
                {
                  title: "车牌号码/车标号",
                },
                {
                  title: "车牌号码/车标号",
                },
                {
                  title: "车牌号码/车标号",
                },
                {
                  title: "车牌号码/车标号",
                },
                {
                  title: "车牌号码/车标号",
                },
                {
                  title: "车牌号码/车标号",
                },
                {
                  title: "车牌号码/车标号",
                },
                {
                  title: "车牌号码/车标号",
                },
                {
                  title: "车牌号码/车标号",
                },
                {
                  title: "车牌号码/车标号",
                },
                {
                  title: "车牌号码/车标号",
                },
              ],
            },
          ],
        },
      ],
    };
  },
};
</script>
<style>
.ivu-tree-children{
  max-height: 550px;
  overflow-y: auto;
}
</style>
